﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Scenario.WorkflowEngine.Database.WorkflowProcesses
{
    public class Activity
    {
        private long lProcessId;
		private string sProcessName;
        private string sActivityId;
		private string sType;
        private string sDescription;
        private string sReferenceActivity;
        private string sName;
        private string sStatus;
        private string sOwner;
        private string sCatchType;
        private long lNrExecuted;
        private string sGrants;
        private string sBehaviour;
        private string sLog;
        private string sLogs;
        private string sReports;

		public Activity()
		{
			this.Init();
		}

		public void Init()
		{
            lProcessId = 0;
            sProcessName = null;
            sActivityId = null;
            sType = string.Empty;
            sDescription = string.Empty;
            sReferenceActivity = string.Empty;
            sName = string.Empty;
            sStatus = string.Empty;
            sOwner = string.Empty;
            sCatchType = string.Empty;
            lNrExecuted= 0;
            sGrants = string.Empty;
            sBehaviour = string.Empty;
            sLog = string.Empty;
            sLogs = string.Empty;
            sReports = string.Empty;
		}

        public long ProcessId
        {
            get { return lProcessId; }
            set { lProcessId = value; }
        }
        public string ProcessName
        {
            get { return sProcessName; }
            set { sProcessName = value; }
        }
        public string ActivityId
        {
            get { return sActivityId; }
            set { sActivityId = value; }
        }
        public string Type
        {
            get { return sType; }
            set { sType = value; }
        }
        public string Description
        {
            get { return sDescription; }
            set { sDescription = value; }
        }
        public string ReferenceActivity
        {
            get { return sReferenceActivity; }
            set { sReferenceActivity = value; }
        }
        public string Name
        {
            get { return sName; }
            set { sName = value; }
        }
        public string Status
        {
            get { return sStatus; }
            set { sStatus = value; }
        }
        public string Owner
        {
            get { return sOwner; }
            set { sOwner = value; }
        }
        public string CatchType
        {
            get { return sCatchType; }
            set { sCatchType = value; }
        }
        public long NrExecuted
        {
            get { return lNrExecuted; }
            set { lNrExecuted = value; }
        }
        public string Grants
        {
            get { return sGrants; }
            set { sGrants = value; }
        }
        public string Behaviour
        {
            get { return sBehaviour; }
            set { sBehaviour = value; }
        }
        public string Log
        {
            get { return sLog; }
            set { sLog = value; }
        }
        public string Logs
        {
            get { return sLogs; }
            set { sLogs = value; }
        }
        public string Reports
        {
            get { return sReports; }
            set { sReports = value; }
        }
    }
}
